#pragma once
#include <vector>
#include <d3d9.h>
class Scene;
class Engine
{
	Scene* scene;
	int width;
	int height;


	IDirect3D9 *direct;
public:
	IDirect3DDevice9 *device;
	HWND wnd;
public:
	Engine( int width, int height, int depth, bool windowed = true );
	~Engine();
	
	void Clear();
	void SwapBuffers();
	Scene *GetScene();
};